/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.emergency.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "应急物资检查记录",description = "应急物资检查记录实体类")
public class MaterialCheckRecord extends BaseEntity {

    @ApiModelProperty(name = "corpCode",value = "水司code")
    private String corpCode;

    @ApiModelProperty(name = "corpName",value = "水司名称")
    private String corpName;

    @ApiModelProperty(name = "title",value = "标题")
    private String title;

    @ApiModelProperty(name = "checkEmployeeCode",value = "检查负责人code")
    private String checkEmployeeCode;

    @ApiModelProperty(name = "checkEmployeeName",value = "检查负责人姓名")
    private String checkEmployeeName;

    @ApiModelProperty(name = "executerCode",value = "检查执行人code")
    private String executerCode;

    @ApiModelProperty(name = "executerName",value = "检查执行人姓名")
    private String executerName;

    @ApiModelProperty(name = "checkDeptCode",value = "被检查的单位code")
    private String checkDeptCode;

    @ApiModelProperty(name = "checkDeptName",value = "被检查的单位名称")
    private String checkDeptName;

    @ApiModelProperty(name = "checkTime",value = "检查日期时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date checkTime;
    private String checkTimeStr;

    @ApiModelProperty(name = "status",value = "状态：1草稿2提交3审批通过")
    private Integer status;

    @ApiModelProperty(name = "description",value = "描述")
    private String description;

    @ApiModelProperty(name = "attachment",value = "检查记录的附件")
    private String attachment;

    @ApiModelProperty(name = "checkResult",value = "检查记录的结果")
    private String checkResult;


    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCheckEmployeeCode() {
        return checkEmployeeCode;
    }

    public void setCheckEmployeeCode(String checkEmployeeCode) {
        this.checkEmployeeCode = checkEmployeeCode;
    }

    public String getCheckEmployeeName() {
        return checkEmployeeName;
    }

    public void setCheckEmployeeName(String checkEmployeeName) {
        this.checkEmployeeName = checkEmployeeName;
    }

    public String getExecuterCode() {
        return executerCode;
    }

    public void setExecuterCode(String executerCode) {
        this.executerCode = executerCode;
    }

    public String getExecuterName() {
        return executerName;
    }

    public void setExecuterName(String executerName) {
        this.executerName = executerName;
    }

    public String getCheckDeptCode() {
        return checkDeptCode;
    }

    public void setCheckDeptCode(String checkDeptCode) {
        this.checkDeptCode = checkDeptCode;
    }

    public String getCheckDeptName() {
        return checkDeptName;
    }

    public void setCheckDeptName(String checkDeptName) {
        this.checkDeptName = checkDeptName;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public String getCheckTimeStr() {
        return checkTimeStr;
    }

    public void setCheckTimeStr(String checkTimeStr) {
        this.checkTimeStr = checkTimeStr;
    }

    @Override
    public String toString() {
        return "MaterialCheckRecord{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", title='" + title + '\'' +
                ", checkEmployeeCode='" + checkEmployeeCode + '\'' +
                ", checkEmployeeName='" + checkEmployeeName + '\'' +
                ", executerCode='" + executerCode + '\'' +
                ", executerName='" + executerName + '\'' +
                ", checkDeptCode='" + checkDeptCode + '\'' +
                ", checkDeptName='" + checkDeptName + '\'' +
                ", checkTime=" + checkTime +
                ", status=" + status +
                ", description='" + description + '\'' +
                ", attachment='" + attachment + '\'' +
                '}';
    }
}
